<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>$.get和$.post</title>
</head>

<body>
    <!-- 
    $.get();  语法：
    $.get("请求地址","请求参数",function(形参){

    })
    $.post();  语法：
    $.post("请求地址","请求参数",function(形参){

    })
   -->
    <script src="../../jquery练习/jquery.min.js"></script>
    <script>
        $.get("AJAX/data.txt", {}, function(data) {
            console.log(data)
        })
    </script>
</body>

</html>